﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace BEX.WebUI.Controllers
{
    public class HelloWorldController : Controller
    {
        //
        // GET: /HelloWorld/
        // 
        // GET: /HelloWorld/ 

        public ActionResult Index()
        {
            return View();
        }

        // 
        // GET: /HelloWorld/Welcome/ 


        public ActionResult Welcome(string name, int numTimes = 1)
        {
            ViewBag.Message = name;
            ViewBag.NumTimes = numTimes;
            return View();

        }

    }
}
